# -*- coding: UTF-8 -*-
""" listm of todos and future items need adding to the cherrytree project
"""
__author__ = 'OpenSource - Cherrytree'
# todo \033[1;31m \033[0m  colour the debugmode print output to the console window - xxm is the colour eg 31m is red
# todo assign custom icons to nodes/sub nodes and add option to sub-folder/notes (child) to take on parent icon
# todo open several cherrytree files (notebooks) at the same time with tabs (all in the same window-single instance)
# todo customize own keyboard shortcuts
# todo cut copy and paste nodes
# todo option to edit pictures with external editor
# todo user defined text style (font, bold, color,…)
# todo option to set the max line length/max page width
# todo spreadsheet node
# todo opportunity for a node to have columns
# todo allow drag n drop of images and files to cherrytree
# todo add the word counter for a node/the whole tree
# todo allow to open a formatting tag for future text
# todo better table export to html (respect column width, text align, single line border)
# todo let the user customize the toolbar
# todo do not truncate codebox width in export to html
# todo export to html: option to have different color background for the tree
# todo export to html: option to have the nodes to collapse/expand
# todo numbered lists: double space after one digit numbers to be aligned with 2 digits numbers
# todo export node and subnodes as an only html structured document (initial menu  with hyperlinks to diferents subnodes)
# todo option to make text double-spaced
# todo save datetime creation and last datetime modification for every node. Also ability for search in nodes filtered by datetime creation/modification and view a list of nodes created/modificated in an interval
# todo export a node with its subnodes to .odt
# todo utility (dialog) where it’s possible to see all the tags (tree of the only tags) plus statistics about the tags
# todo embed files same as images, open files with correct app at click
# todo support relative links (relative to the cherrytree document)
# todo in code nodes allow compile/execute/code completion
# todo possibility to set up custom properties for h1,h2,h3 (color, style…)
# todo more options for the tables (automatic expand the table to the width of the screen)
# todo sub item pressing the TAB key in bullet or numerical list
# todo import from pdf
# todo export to LaTeX
# todo smart quotes
# todo node property (written in database) to open a node expanded by default
# todo utility to insert formulas (using LaTex that converts to png or something else))
# todo option to have the font in nodes names decrease automatically proportionally to the node depth
# todo selecting a set of text (e.g. space separated) and create a table with it or paste text into a table
# todo customizable menus font size
# todo add crop capability to image resize dialog
# todo multiple selection of nodes for move and delete
# todo opportunity to have multiple nodes point to the same data (many node-views pointing to the same node-data)
# todo option to sort text rows by selection
# todo numbered+checked list together
# todo cherrytree for android
# todo improve the numbers handling in nodes sorting
# todo option to display hierarchy in node name header
# todo in search in all nodes display hierarchy in all matches dialog, node name column
# todo option to enable tooltips over nodes names in the tree
# todo option to have 2 views of the same node content (maybe multiple codeboxes with a single content)
# todo automatic link to node if writing node name (with no spaces and camelcase)
# todo allow to select text and edit equivalent html in a dialog, then insert html from dialog to text
# todo symlinks not selectable in file open dialog on windows os
# todo proxy support (for copy/paste from web browser)
# todo export to epub
# todo option to use double click to visit links
# todo ctrl+shift+v should disable automatic link recognition
# todo strip leading and trailing empty spaces when applying a list type to selected text, option to ensure trailing char (e.g. “;”)
# todo option to skip codeboxes and tables when pasting when pasting from web page
# todo option to call a script at autosave time
# todo bug: replace text in node but not tables/codeboxes
# todo option to recall latest find and replace patterns
# todo export to markdown
# todo option to insert tags also in text maybe with shortcuts
# todo option for codeboxes to resize automatically to hide scrollbars
# todo import from iPython notebook
# todo support for link associated to image
# todo zoom in/out with ctrl+/- acting on the fonts
# todo more headings (h4 and h5)
# todo multiple rows selection for cut/copy/paste/delete in tables
# todo option in export to txt of multiple nodes to save hierarchically creating subfolders
# todo dedicated and configurable font for plain text
# todo preserve text alignment in print/export to pdf
# todo option to link to a node + a line number
# todo export/import text with indentation, each tab marking a level
# todo pick existing formatting from the text below the cursor and use the formatting elsewhere
# todo add option to send VACUUM to the sqlite database
# todo command line argument to run export
# todo allow coloured text in table cells
# todo configurable auto-close of document after set time of inactivity